package com.ruoyi.base.domain;

import com.ruoyi.common.annotation.Excel;
import javax.validation.constraints.NotNull;
import lombok.Data;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 工单类别对象 base_flow_type
 * 
 * @author ruoyi
 * @date 2025-04-15
 */
@Data
public class BaseFlowType extends BaseEntity
{
    public static final String TYPE_PURCHASE = "purchase";
    private static final long serialVersionUID = 1L;

    /** 自增长主键ID */
    private Long id;

    /** 代码 */
    @Excel(name = "代码")
    @NotNull
    private String code;

    /** 名称 */
    @Excel(name = "名称")
    @NotNull
    private String name;

    /** 是否内置 */
    @Excel(name = "是否内置", dictType="sys_yes_no", comboReadDict=true)
    @NotNull
    private String isSys;

    /** 是否计价 */
    @Excel(name = "是否计价", dictType="sys_yes_no", comboReadDict=true)
    @NotNull
    private String isPrice;

    /** 使用状态 */
    @Excel(name = "使用状态", dictType="device_status", comboReadDict=true)
    private String useStatus;

    /** 是否需要归还 */
    @Excel(name = "是否需要归还", dictType="sys_yes_no", comboReadDict=true)
    @NotNull
    private String needRevert;

    /** 状态 */
    @Excel(name = "状态", dictType="business_status", comboReadDict=true)
    @NotNull
    private String status;

    /** 排序 */
    @Excel(name = "排序")
    @NotNull
    private Integer sorts;


}
